# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class DiskInfo(object):

    def __init__(self, diskCategory=None, autoDelete=None, diskType=None, volumeSize=None, snapshotId=None, snapshotName=None, policyId=None, policyName=None, encrypt=None):
        """
        :param diskCategory: (Optional) 是云盘还是本地盘（local：本地盘; cloud：云盘）
        :param autoDelete: (Optional) 是否随主机删除
        :param diskType: (Optional) 云盘类型
        :param volumeSize: (Optional) 云盘大小
        :param snapshotId: (Optional) 快照id（可为空）
        :param snapshotName: (Optional) 快照名字（可为空）
        :param policyId: (Optional) 快照策略id
        :param policyName: (Optional) 快照策略名字
        :param encrypt: (Optional) 是否加密
        """

        self.diskCategory = diskCategory
        self.autoDelete = autoDelete
        self.diskType = diskType
        self.volumeSize = volumeSize
        self.snapshotId = snapshotId
        self.snapshotName = snapshotName
        self.policyId = policyId
        self.policyName = policyName
        self.encrypt = encrypt
